Fragment based molecular dynamics for drug design