A local landscape mapping method for protein structure prediction in the HP model